<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>作业</title>
</head>
<body>
<h1>欢迎注册</h1>
<table border="1">
    <form>
        <tr>
            <td>用户名：</td>
            <td><input type="text" name="username"></td>
        </tr>
        <tr>
            <td>密码：</td>
            <td><input type="password" name="password"></td>
        </tr>
        <tr>
            <td>性别：</td>
            <td>
                <input type="radio" name="gender" value="男">男
                <input type="radio" name="gender" value="女">女
            </td>
        </tr>
        <tr>
            <td>爱好：</td>
            <td>
                <input type="checkbox" name="hobby" value="抽烟">抽烟
                <input type="checkbox" name="hobby" value="喝酒">喝酒
                <input type="checkbox" name="hobby" value="烫头">烫头
            </td>
        </tr>
        <tr>
            <td>地址：</td>
            <td><input type="text" name="address"></td>
        </tr>
        <tr>
            <td>生日：</td>
            <td><input type="date" name="birthday"></td>
        </tr>
        <tr>
            <td>靓照：</td>
            <td><input type="file" name="photo"></td>
        </tr>
        <tr>
            <td>所在地：</td>
            <td>
                <select>
                    <option name="location" value="北京">北京</option>
                    <option name="location" value="上海">上海</option>
                    <option name="location" value="武汉">武汉</option>
                </select>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
                <input type="checkbox" name="agree" value="yes" id="agreeyes">
                <lable for="agreeyes">我同意相关服务协议</lable>
            </td>

        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
                <input type="submit" value="注册">
            </td>
        </tr>
    </form>
</table>

</body>
</html>